<?php
/**
 * Created by PhpStorm.
 * User: jack Wang
 * Date: 2021/8/25
 * Time: 22:11
 */

class Rotation_model extends CI_Model
{
    public function __construct()
    {
        parent::__construct();
        $this->load->database();
    }

    public function findAll(){
        $query = $this->db->select()->from('rotation')->get();
        return $query->result_array();
    }
}